import request from "@/utils/request.js";

//即时类消息记录
export function user_chat_log(data) {
    return request({
        API_URL: '/users/notice/user_chat_log',
        data
    });
}

export function online_chat_group(data) {
    return request({
        API_URL: '/users/notice/online_chat_group',
        data
    });
}

export function user_chat_read(data) {
    return request({
        API_URL: '/users/notice/user_chat_read',
        data
    });
}

export function create_room(data) {
    return request({
        API_URL: '/users/notice/create_room',
        data
    });
}

export function room_list(data) {
    return request({
        API_URL: '/users/notice/room_list',
        data
    });
}

export function room_member_add(data) {
    return request({
        API_URL: '/users/notice/room_member_add',
        data
    });
}

export function room_log(data) {
    return request({
        API_URL: '/users/notice/room_log',
        data
    });
}

export function room_edit(data) {
    return request({
        API_URL: '/users/notice/room_edit',
        data
    });
}

export function room_member(data) {
    return request({
        API_URL: '/users/notice/room_member',
        data
    });
}

export function ai_reply(data) {
    return request({
        API_URL: '/users/index/ai_reply',
        data
    });
}

export function ai_chat_log(data) {
    return request({
        API_URL: '/users/index/ai_chat_log',
        data
    });
}